find_path(TBB_INCLUDE_DIR tbb)
find_library(TBB_LIBRARY tbb)

if (TBB_INCLUDE_DIR AND TBB_LIBRARY)
    set(TBB_FOUND ON)
endif(TBB_INCLUDE_DIR AND TBB_LIBRARY)

if (TBB_FOUND)
    if (NOT TBB_FIND_QUIETLY)
        message(STATUS "Found tbb include path: ${TBB_INCLUDE_DIR}")
        message(STATUS "Found tbb library: ${TBB_LIBRARY}")
    endif (NOT TBB_FIND_QUIETLY)
else(TBB_FOUND)
    if (TBB_FIND_REQUIRED)
        message(STATUS "Could not find tbb include path or library path")
    endif(TBB_FIND_REQUIRED)
endif(TBB_FOUND)